{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="{% static 'css/my.css' %}">
    <script src="{% static 'js/jquery.js' %}"></script>
</head>
<body>
<h2>无参提交</h2>
<form action="/api/get_list01/" method="">
    <div><input type="submit" name="sub" value="无参提交"></div>
</form>
<h2>有参提交</h2>
<form action="/api/post_obj02/" method="post">
    <div>用户名：<input type="text" name="user" placeholder=""></div>
    <input type="hidden" name="id" value="10">
    性别：
        <input type="radio" name="sex" value="1">男
        <input type="radio" name="sex" value="2">女
    <div><input type="submit" name="sub" value="提交"></div>
</form>




    <h1><a href="/index/">我的第一个Django页面</a></h1>
    <ul>
        <li><a href="/news/">news</a></li>
        <li><a href="/tpl/">tpl</a></li>
    </ul>
    <button id="btn">点击</button>
    <img src="{% static 'image/Elysia.png' %}" alt="">
    <br>
    <iframe src="https://www.taobao.com" frameborder="0" width="500" height="400"></iframe>
    <iframe src="/user/" width="500" height="400"></iframe>

    <script>
        $(function () {
            $('#btn').click(function () {
                $('img').animate({
                    width:400,
                    height:400
                })
            })
        })
    </script>
</body>
</html>
